package com.lsq.mybatis;

import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;

/**
 * @author lsq
 * @description TODO
 * @date 2023/9/12
 */
public interface TypeHandler<T> {
    void setParameter(PreparedStatement parameter, int i, T value) throws SQLException;


    T getResult(ResultSet resultSet, String columnName) throws SQLException;
}
